#ifndef ENEMY_5_H
#define ENEMY_5_H

#include <QtGui>
#include "collisia_control.h"
#include "cash.h"

class ENEMY_5 : public QGraphicsObject
{
    Q_OBJECT

    QPainterPath *border;
    QPixmap *im;

    QGraphicsItemAnimation *anim_enemy;
    QTimeLine *enemy_time_line;

    COLLISIA_CONTROL *collisia_control;

    int point;

    SOUND_POWER *go;

public:

    explicit ENEMY_5(QPoint begin, SCENE *scene, QTimeLine *global_tl, CASH *cash);

    QPainterPath shape() const;

    QRectF boundingRect() const;

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *);

    ~ENEMY_5();

    int type() const;
    
signals:

    void Kill_Me_Please(QGraphicsObject *);

public slots:

    void Damage_Detected(QPointF a,int d);

};

#endif // ENEMY_5_H
